package the.workshop.bu.vo;

import lombok.Data;
import org.springframework.beans.BeanUtils;
import the.workshop.bu.entity.Product;

@Data
public class ProductVO {

    private Integer id;

    private String name;

    private String bankName;

    private String remark;

    public ProductVO() {}

    public ProductVO(Product entity) {
        BeanUtils.copyProperties(entity, this);
    }
}
